home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 9
/
FM Towns Free Software Collection 9.iso
/
t_os
/
tool
/
ugoku
/
src
/
movplay
/
imvabou.c
next >
Wrap
C/C++ Source or Header
|
1994-11-16
|
3KB
|
119 lines
#include <stdio.h>
#include <stdlib.h>
#include <winb.h>
#include <te.h>
#include <fntb.h>
#include <gui.h>
extern int alertId ;
extern int messageId[3] ;
extern int dspIconId ;
extern int aboutOKBtnId ;
extern int aboutOKFunc() ;
#define ALIGN 4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)
/* MMI_init 用データ */
/* ヘッダ */
MMIINIT initDataIMVABOU = { "MmiInit", 6, 0 } ;
/* alertId */
static MMIPACKET d001 = { &alertId,
NULL,
&MJ_ALERTL40,
OFFSET(ALERTL40),
MS_NONE
} ;
static ALERTL40 d001d = { MS_BTLEFTL40 | MS_EVMOVEL40 | MS_EVMOSONL40 | MS_EVKEYONL40,
166, 161, 474, 320, 8, 4, 0,
MS_PANELL40 | MS_UFRAMEL40 | MS_FRAMEL40,
NULL, 0, 0,
0, 0, 0, 0
} ;
/* messageId[0] */
static MMIPACKET d002 = { &messageId[0],
&alertId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d002d = { MS_CENTERL40 | MS_DSPONLYL40,
213, 212, 427, 235, 0,15, 8,
MS_NONEL40,
"動くざんす V2.1 L11b",
2, 16, 16,
MS_BOLDL40,
0, 0
} ;
/* messageId[1] */
static MMIPACKET d003 = { &messageId[1],
&alertId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d003d = { MS_CENTERL40 | MS_DSPONLYL40,
225, 246, 419, 263, 0,15, 8,
MS_NONEL40,
"Copyright(c)1994 HiroshiTODA",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* dspIconId */
static MMIPACKET d004 = { &dspIconId,
&alertId,
&MJ_ICONL40,
OFFSET(ICONL40),
MS_NONE
} ;
static ICONL40 d004d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_CENTERL40 | MS_DSPONLYL40,
178, 171, 215, 206, 8, 4, 8,
MS_PANELL40 | MS_DFRAMEL40 | MS_FRAMEL40,
0,
0x0000, 37
} ;
/* aboutOKBtnId */
static MMIPACKET d005 = { &aboutOKBtnId,
&alertId,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d005d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
284, 278, 357, 303,12, 4, 8,
MS_PANELL40 | MS_FRAMEL40,
aboutOKFunc,
0x8012
} ;
/* messageId[2] */
static MMIPACKET d006 = { &messageId[2],
&alertId,
&MJ_MSGL40,
0,
MS_NONE
} ;
static MSGL40 d006d = { MS_CENTERL40 | MS_DSPONLYL40,
286, 280, 354, 302, 0,15, 8,
MS_NONEL40,
"確 認",
1, 12, 12,
MS_NONEL40,
0, 0
} ;